package me.rocky.config;

import cn.hutool.core.lang.Snowflake;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Random;

/**
 * @author Rocky
 * @version 1.0
 * @description
 * @email inaho00@foxmail.com
 * @createDate 2021/9/18 下午4:31
 * @log
 */
@Configuration
public class SystemConfig {
	@Bean
	public Snowflake snowflake (){
		return new Snowflake(0L,1L);
	}
}
